package wicket;

import org.apache.wicket.protocol.http.WebApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Component;
import wicket.HelloWorldPage;

public class HelloWorldApplication extends WebApplication {
    @Override
    public Class getHomePage() {
        return HelloWorldPage.class;
    }
    @Override
    public void init() {
        super.init();
        // 其他初始化设置
        mountPage("/", HelloWorldPage.class); // 设置启动页面
    }
}
